package com.zhibang.mapper;

import com.zhibang.entity.Users;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
* @author lewin
* @description 针对表【users(用户信息表)】的数据库操作Mapper
* @createDate 2025-04-22 11:04:57
* @Entity com.zhibang.entity.Users
*/
public interface UsersMapper extends BaseMapper<Users> {
    //根据邮箱查询用户
    @Select("select * from users where email = #{email}")
    Integer selectByEmail(String email);
}




